Release 10.1A: OpenEdge Development:
Progress 4GL Reference
RETRY function
Returns a TRUE value if the current block is being reprocessed after a previous UNDO, RETRY.
Syntax
Example
This procedure bypasses the display of the customer data when the REPEAT block is retried (if user changes the customer data and does not specify a country). When you run this procedure, notice that even though the procedure has undone any data that you entered (if you did not specify a country), the data still appears in the window. The data is saved in the screen buffers, but it is not stored in the customer record buffer. If you do not use the RETRY function, Progress reprocesses the DISPLAY statement and display the previous values for the customer fields, overwriting the data that was entered in error.
Notes
- Using the RETRY function in a block turns off the default error processing, which result in no infinite loop protection for the block.
- For more information on retry processing, see OpenEdge Development: Progress 4GL Handbook .
See also
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |